package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.pro.domain.entity.UpdateDataEntity;
import com.xbongbong.saas.domain.entity.CustomerStatementStatisticsEntity;

import java.util.List;
import java.util.Map;


/**
 * @author an
 */
public interface CustomerStatementStatisticsModel extends IModel<CustomerStatementStatisticsEntity> {

   @Override
   Integer insert(CustomerStatementStatisticsEntity entity) throws XbbException;

   void insertBatch(List<CustomerStatementStatisticsEntity> list) throws XbbException;

   @Override
   List<CustomerStatementStatisticsEntity> findEntitys(Map<String, Object> param);

   @Override
   Integer getEntitysCount(Map<String, Object> param);

   @Override
   Integer update(CustomerStatementStatisticsEntity entity) throws XbbException;

   CustomerStatementStatisticsEntity getByKey(Long key, String corpid);

    List<CustomerStatementStatisticsEntity> getbyIds(List<Long> dataIdList, String corpid);

   void updateBatch(List<UpdateDataEntity> updateDataList, String corpid) throws XbbException;

    Integer deleteBatch(List<Long> dataIdList, String corpid) throws XbbException;

    Long save(CustomerStatementStatisticsEntity statisticsEntity) throws XbbException;
}
